#!/bin/bash
source /chalmers/sw/sup/cse/init/bash
module add DAT110

ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_VHDL_FUNCT.vhd
ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORE9GPHS_SNPS_AVT_4.1.a/VHDL_FUNCT/CORE9GPHS_COMPONENTS.vhd
ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORX9GPHS_SNPS_AVT_7.1.a/VHDL_FUNCT/CORX9GPHS_VHDL_FUNCT.vhd
ncvhdl -messages -linedebug /chalmers/sw/sup/cds/hcmos9gp-9.2/CORX9GPHS_SNPS_AVT_7.1.a/VHDL_FUNCT/CORX9GPHS_COMPONENTS.vhd
ncvlog ./vhd/ALU_RCA.v
ncvhdl -messages -linedebug -v93 ./vhd/testbench_ALU_RCA.vhd
ncvhdl -messages -linedebug -v93 ./vhd/testbench_ALU_RCA_real.vhd
ncvlog ./vhd/ALU_SKL.v
ncvhdl -messages -linedebug -v93 ./vhd/testbench_ALU_SKL.vhd
ncvhdl -messages -linedebug -v93 ./vhd/testbench_ALU_SKL_real.vhd

ncelab -messages -v93 WORKLIB.testbecnch_ALU_RCA:behavioral
ncelab -messages -v93 WORKLIB.testbecnch_ALU_SKL:behavioral
ncelab -messages -v93 WORKLIB.testbecnch_ALU_RCA_real:behavioral
ncelab -messages -v93 WORKLIB.testbecnch_ALU_SKL_real:behavioral